package LawsonTransformJava.dao;
// Abstract class DAO Factory
public abstract class DAOFactory {

  // List of DAO types supported by the factory
  public static final int ORACLE = 1;
  //public static final int SQLSERVER = 2;

  // There will be a method for each DAO that can be 
  // created. The concrete factories will have to 
  // implement these methods.
  public abstract DAOEmployee getEmployeeDAO();
  public abstract DAODependent getDependentDAO();
  public abstract DAOBenefit getBenefitDAO();

  public static DAOFactory getDAOFactory(
      int whichFactory) {
  
    switch (whichFactory) {
      case ORACLE    : 
          return null;      
      default           : 
          return null;
    }
  }
}